#ifndef MYSORT_H__
#define MYSORT_H__

enum way
{
	RISE = 1,
	DECLINE	
};

typedef void (*func)(int *, int, enum way);

void bubbleSort(int *num, int size, enum way flag);
void selectSort(int *num, int size, enum way flag);
void insertSort(int *num, int size, enum way flag);

void dichotomySort(int *num, int size, int data);
void quickSort(int *num, int size, int L, int R);
void shellSort(int *num, int size);

void mySort(int *, int, enum way, func);

#endif
